<template>
  <div id="app">
	<!--路由出口，路由匹配到的组件将渲染到这里-->
	<router-view></router-view>
  </div>
</template>

<script>

//引入main组件  异步加载组件
const Main=()=>import("./views/Main.vue")

export default {
  name: 'App',
  components: {
		Main
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  text-align: center;
  height: 100%;
}
</style>
